package com.bridgeintelligent.tag.engine.api.rsp;

import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;
@Data
@Accessors(chain=true)
@RequiredArgsConstructor(staticName = "of")
public class DimLastMonthRsp {
    private int code=0;
    private R data;
    @Data
    @Accessors(chain=true)
    @RequiredArgsConstructor(staticName = "of")
    public static class R{
        List<Result> records;
        Long total;
        String date;
        String interval;
    }
    @Data
    @Accessors(chain=true)
    @RequiredArgsConstructor(staticName = "of")
    public static class Result{
        private String title;
        private String count;
    }
}
